import request from "@/utils/request";
//获取list集合
export function factoringList(data) {
  return request({
    url: 'banking/jr-factoring/factoringList',
    method: 'get',
    params: data,
  })
}
//获取一个对象
export function getFactoring(id) {
  return request({
    url: 'banking/jr-factoring/getFactoring',
    method: 'post',
    data: {id:id},
  })
}
//修改对象状态
export function updateFactoring(id,applyState,yesNo,auditMemo) {
  return request({
    url: 'banking/jr-factoring/updateFactoring',
    method: 'post',
    data: {id:id,applyState:applyState,yesNo,auditMemo:auditMemo},
  })
}

